//
//  main.m
//  C7_学生数组
//
//  Created by dllo on 15/10/14.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Student.h"
int main(int argc, const char * argv[]) {

    
    struct Student student[5] = {
        
                {"QingC", 'n', 23, 99.9},
                {"XiaoC", 'm', 43, 77.7},
                {"XiaoQ", 'n', 34, 55.5},
                {"XiaoY", 'm', 21, 88.8},
                {"XiaoX", 'n', 12, 66.6}
                
            };
    
    printStudent(student, 5);
    printf("\n");
    sortStudent(student, 5);
    
    
    
    
    
    
    
    
    
    return 0;
}
